<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div:lang(zh-cn) {
            color: orange
        }
    </style>
</head>
<body>
    <h1>语言伪类</h1>
    <div lang="zh-cn">这是语言伪类的效果</div>
    <div>English Info.</div>
</body>
</html>